package org.example.myportfolio.service;

import org.example.myportfolio.pojo.param.WorksParam;
import org.example.myportfolio.pojo.vo.WorkVO;

import java.util.List;

public interface WorkService {

    Long createWork(WorksParam worksParam);

    void deleteWork(Long workId);

    List<WorkVO> pageWork(Integer pageNum, Integer pageSize);

    void updateWork(WorksParam worksParam);


    List<WorkVO> searchWorkByEs(String keyword);

}
